package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Arrays;
import java.util.List;

/**
 * @author:deng
 * @time:2022/4/27 14:09
 * @描述：组装试卷表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PaperObject {

    private int id;
    private int paperid;
    private int topictype;
    private String papercontent;
    private String answer;
    private int difficulty;
    private int quTypeId;
    private int questionId;
    private List<QuestionAnswer> answerList;
    private int score;

    /*批量删除的数组*/
    private int[] checkedArr;

    private String studentsAnswer;//批改时往前端传，带着学生答案走
    private int getS;//接收前端传过来的分数

    //重新定义一个字段来接收传过来的试题类别和分数
    List<ScoreListEntity> scoreList;

    public List<ScoreListEntity> getScoreList() {
        return scoreList;
    }
}
